import { Card } from "../class/Card";
import { Context } from "../class/Context";
import { Shield } from "../class/Shield";

/**
 * 获得一个护盾
 */
export class ShieldCard extends Card{
    static cardName = "护盾"
    static description = "获得一个抵免 1000 点伤害的护盾。"
    public outHook(context: Context): void {
        this.masterRole.setShield(new Shield(1000))
    }
}